import React from 'react';

export default function child(props) {
  const { child } = props;
  return (
    <div>
      <button onClick={child}>child</button>
    </div>
  );
}
